/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Administrator
 * Date: 2023-08-12
 * Time: 21:03
 */
class HelloA {
    public HelloA() {
        System.out.println("HelloA");
    }
    {
        System.out.println("i am A class");
    }
    static {
        System.out.println("static A");
    }
}
public class Test extends HelloA{
    public Test() {
        System.out.println("TestClass");
    } {
        System.out.println("i am TestClass");
    }
    static {
        System.out.println("static TestClass");
    }
    public static void main(String[] args) {
        new Test();
    }
}
